package study.newsql.tidb.mapper.userbase;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;
import org.apache.ibatis.type.Alias;

import java.util.Date;

@Builder
@Data
@Alias("UserBaseEO")
@TableName("user_base")
public class UserBaseEO {

    @TableId(value = "ub_id", type = IdType.AUTO)
    private Long ubId;

    private String ubLoginName;
    private String ubLoginPwd;
    private Integer ubType;
    private Date ubBeginTime;
    private Date ubEndTime;
}
